import { View, Button, Block } from "@tarojs/components";
import { useEnv, useNavigationBar, useModal, useToast } from "taro-hooks";
import Taro, { useLoad, useRouter, useDidShow } from "@tarojs/taro";
import { UploadAvatar } from "../../components";

import { useRef, useState } from "react";
import { uploadImage } from "../../utils/api";
import { AtButton, AtAvatar } from "taro-ui";

const CenterPage = () => {
  return (
    <View>
      {/* 头像上传组件 */}
      <UploadAvatar></UploadAvatar>
    </View>
  );
};

export default CenterPage;
